package moviedatabase

class Movie {

    static constraints = {
		title		blank:false
    }
	
	static belongsTo = Person
	
	String title
	Integer year
	Date releaseDate
	Genre genre
	
	static hasMany = [casting:Person]
}
